import React from 'react';
import { HashRouter, Route, Switch } from 'react-router-dom';
import Layout from '@/pages/layout';
import Login from '@/pages/Login';
import AuthRouter from '@/pages/auth';
const Router = () => {
    return (
        <HashRouter>
            <Switch>
                <Route component={Login} exact path="/login" />
                <AuthRouter path="/" component={Layout} />
            </Switch>
        </HashRouter>
    );
};
export default Router;